package com.tdam2011.grupo05.entities.account;

import android.provider.BaseColumns;

import com.tdam2011.grupo05.entities.Model;

public class Account extends Model {

	public static final String TABLE_NAME = "web_account";
	public static final String COL_ID = BaseColumns._ID;
	public static final String COL_USERNAME = "user";
	public static final String COL_PASSWORD = "password";
	public static final String COL_LAST_SYNC = "last_sync";

	private String username;
	private String password;
	private long lastSync;

	public Account() {

	}

	public Account(String username, String password) {
		this.username = username;
		this.password = password;
	}

	public void setLastSync(long lastSync) {
		this.lastSync = lastSync;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public long getLastSync() {
		return lastSync;
	}

	public String getPassword() {
		return password;
	}

	public String getUsername() {
		return username;
	}
}
